<?php

/**
 * Created by PhpStorm.
 * User: fengchen
 * 此文件用于定义路由
 */
return [
    'URL_MODEL'     => 3,
    'URL_ROUTER_ON' => true,                             // 开启路由

    'URL_ROUTE_RULES' => [                            // 路由规则
        /*各种详情路由*/
        'search$'=>"Home/Index/search",
        'about$'=>"Home/Index/about",
        'product$'=>"Home/Index/product",
        'news$'=>"Home/Index/news",
        'contact$'=>"Home/Index/contact",
        'news-1$'=>"Home/Index/news?sid=36",
        'news-2$'=>"Home/Index/news?sid=41",
        'news-3$'=>"Home/Index/news?sid=48",
        'news-4$'=>"Home/Index/news?sid=49",
        'product-1$'=>"Home/Index/product?tid=1",
        'product-2$'=>"Home/Index/product?tid=2",
        'article-1$'=>"Home/Index/article1",
        'article-2$'=>"Home/Index/article2",
        'about-2$'=>"Home/Index/about2",
        'about-3$'=>"Home/Index/about3",
    ],
];